package com.cssnj.portal.domain.manage;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 应用服务接入技术说明附件JPA接口
 *
 * @author Arthur
 * @version 1.0
 * @since 2018/8/17 15:12
 */
@Repository
public interface YyGnJrJsSmRepository extends JpaRepository<YyGnJrJsSmEntity, YyGnJrJsSmEntityPK> {
    @Query("SELECT T FROM YyGnJrJsSmEntity T WHERE T.gnId = :funcId")
    List<YyGnJrJsSmEntity> findByGnId(@Param("funcId") String funcId);
}
